package homework.Sort;

public class Wolf extends Canine{
    public Wolf(){

    }
    public Wolf(String color,int age,String varieties) {
        super(color, age, varieties);
    }
    /**狼嚎的方法*/
        public void wolfHowled() {
            System.out.println("那只" + this.getAge() + "岁的"+this.getColor()
                    + this.getVarieties() + "在月下嚎叫");
        }

}
